package com.autumn.platform.core.xml.context;

import org.springframework.util.xml.XmlValidationModeDetector;

public enum XmlValidationMode {

    NONE(XmlValidationModeDetector.VALIDATION_NONE),

    AUTO(XmlValidationModeDetector.VALIDATION_AUTO),

    DTD(XmlValidationModeDetector.VALIDATION_DTD),

    XSD(XmlValidationModeDetector.VALIDATION_XSD);

    private int code;

    private XmlValidationMode(int code) {
        this.code = code;
    }

    public int getCode() {
        return this.code;
    }
}
